package com.momoc.mrpc.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

/**
 * @ClassName MRpcService
 * @description 远程调用服务注释
 * @author momoc
 * @Date 2022/7/25 1:38 下午
 * @version 1.0
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Component
public @interface MRpcService {
    Class interfaceClassName();
}
